/**
 * 
 */
package com.edocbase.desktop.plugins.mdairy.catalog.ui;

import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.swt.graphics.Image;

/**
 * @author X61
 *
 */
public class RecycledLabelProvider extends LabelProvider {

	@Override
	public Image getImage(Object element) {
		return super.getImage(element);
	}

	@Override
	public String getText(Object element) {
		if (element instanceof RecycledNode){
			RecycledNode rn = (RecycledNode)element;
			return rn.getValue().toString();
		}
		return super.getText(element);
	}

}
